<?php
class DomBankLinkSet {
	
	private $links = array();
	
	public function add( DomBankLink $link ) {
		$this->links[$link->name] = $link;
	}
	
	public function getLinks() {
		return $this->links;
	}
	
	public function get( $name ) {
		return $this->links[$name];
	}
	
}
?>